namespace Expect.Documentation.Base_concepts
{
    using System;
    using Expect.Core;
    using Expect.Core.Fixtures;
    using Microsoft.VisualStudio.TestTools.UnitTesting;
    
    
    // This file is intended to contain your fixtures, you could modify it's content freely because it won't be generated again
    // Please note that if you rename the parent .expect file, this file will not be renamed automatically
    public partial class FixtureClassesContainer : Expect.Core.Interfaces.ISpecificationContainer
    {
        [FixtureHint("I forget my |*| table for |*|")]
        public void IForgetMyTableFor(string optype, int baseop)
        {
            Context.Data["FromMethod"] = true;
        }

        [FixtureHint("I forget my |*| table for |*|")]
        public void IForgetMyTableFor(string optype, int baseop, FixtureData data)
        {
            Context.Data["FromMethod"] = true;
        }

        [FixtureHint("When resolving a fixture, fixture classes have priority over fixture methods.")]
        public void WhenResolvingAFixtureFixtureClassesHavePriorityOverFixtureMethods()
        {
            Assert.IsFalse(Context.Data.ContainsKey("FromMethod"), "Fixture method should not have been called");
        }
    }
}

